<template>
	<view class="container">
		<!-- 吸顶效果 -->
		<uv-sticky></uv-sticky>
		<view class="content">
			<view class="pic">
				<uv-image src="../../static/item/羽毛球.jpg" width="250rpx" height="250rpx"></uv-image>
			</view>
			<view class="item">
				<p>机柜编号: 123123123</p>
			</view>
			<view class="item">
				<p>物品名称: xxx</p>
			</view>
			<view class="item">
				<p>借用数量:<input class="uni-input" type="number" placeholder="请输入数量" /></p>
			</view>
			<view class="item">
				<p>缴纳押金: 99</p>
			</view>
			<view class="btn">
				<uv-button type="primary"  text="借用"></uv-button>
			</view>
		</view>
		
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value: ''
			};
		},
		methods: {
			change(e) {
				console.log('change', e);
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		// margin-left: 200rpx;
	}
	
	.pic {
		align-self: center;
		margin-top: 100rpx;
	}

	.item {
		margin-top: 50rpx;
		margin-left: 200rpx;
		align-items: center;
	}

	.btn{
		align-self: center;
		margin-top: 25%;
		width: 40%;
	}
</style>